﻿#ifndef BATTERYINFOWIDGET_H
#define BATTERYINFOWIDGET_H

#include <QWidget>

namespace Ui {
class BatteryInfoWidget;
}

class BatteryInfoWidget : public QWidget
{
    Q_OBJECT

public:
    explicit BatteryInfoWidget(QWidget *parent = nullptr);
    ~BatteryInfoWidget();

    void setData(QByteArray data, int len);

    void RecvData(QByteArray databuf, int datalen);

private:
    Ui::BatteryInfoWidget *ui;
};

#endif // BATTERYINFOWIDGET_H
